package d1102;

public class Test {
    public static void main(String[] args){
        Cat cat=new Cat();
        cat.eat();
        System.out.println(cat.name);
        Dog dog=new Dog();
        dog.sleep();
        System.out.println(dog.name);
    }
}
